#!/bin/bash

progname=$0

function usage () {
   cat <<EOF

Usage: $progname


EOF
   exit 0
}

#Initialize
TMP=~/tmp/miod
DELIVERABLE=daily-giggle-trunk.tar.gz

#Copy needed files into the temporary location
rm $DELIVERABLE
rm -rf $TMP
mkdir $TMP
cp -R * $TMP
find $TMP -name ".svn" | xargs rm -rf

#Tar'em up
cd $TMP
tar -czf $DELIVERABLE *
cd -
mv $TMP/$DELIVERABLE .

